#include("./header.html", {active:'tools', title:'系统工具'})
<div class=main-content>
    <div class="panel mb25">
        <div class="panel-heading border">系统工具</div>
        <div class="panel-body">
            <div class="row no-margin">
                <div class="col-lg-12">
                    <form class="form-horizontal bordered-group" method="post" role="form"
                          action="${base_url('/admin/tools')}">
                        #if(null != error)
                        <div class="alert alert-danger">${error}</div>
                        #end
                        #if(null != info)
                        <div class="alert alert-success">${info}</div>
                        #end
                        <div class="form-group">
                            <label class="col-sm-2 control-label">站点名称</label>
                            <div class="col-sm-10">
                                <select name="type">
                                    <option selected="selected" value="">请选择要执行的操作</option>
                                    <option value="clean_cache">清除缓存</option>
                                    <option value="refresh_weight">刷新帖子权重</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">&nbsp;</label>
                            <div class="col-sm-10">
                                <button type="submit" class="btn btn-success">执行操作</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
#include("./footer.html")
</body>
</html>